<div class="primary">
   <div class="wrap">
      <?php include ROOT.'/home/view/view_bar.php'?>
      <div class="breadcrumb">
         <span itemtype="http://data-vocabulary.org/Breadcrumb" itemscope="itemscope" class="crumb_item">
            <a itemprop="url" rel="up" class="crumb" href="/"><span itemprop="title">Trang chủ</span></a>
            <span class="arrow"> &gt; </span>
         </span>
         <span itemtype="http://data-vocabulary.org/Breadcrumb" itemscope="itemscope" class="crumb_item">
            <a itemprop="url" rel="up" class="crumb" href="/tags/<?=$_GET['keyword']?>/"><span itemprop="title"><?=$_GET['keyword']?></span></a>
         </span>
      </div>
      <div class="products_wrap">
         <div class="products_list">
         <h1 style="padding: 10px; line-height: 1.3em; font-size: 14px">Các kết quả tìm kiếm điện thoại di động, máy tính bảng, phụ kiện, dịch vụ sửa chữa cho từ khóa "<span style="font-size: 16px;"><?=$keyword?></span>"</h1>
         <?php
         foreach($array_result as $value) {
            ?>
            <div class="tags_item">
               <h2>
                  <a href="<?=$value['alias']?>"><?=str_ireplace($keyword,'<em>'.$keyword.'</em>',$value['name'])?></a> 
                  <span class="tip<?=$value['type']?>"><?=$array_search_type[$value['type']]?></span>
               </h2>
               <div class="img">
                  <a href="<?=$value['alias']?>"><img src="<?=img_link($value['image'],'small')?>" alt="<?=$value['name']?>" /></a> 
               </div>
               <div class="info">
                  <?=$value['des']?>
               </div>
            </div>
            <?
         }
         ?>
         </div>
         <style>
         .tags_item {
            width: 600px;
            overflow: hidden;
            padding: 5px 0px 20px 0px;
            margin-left: 10px;
            margin-top: 5px;
         }
         .tags_item h2 {
            width: 600px;
         }
         .tags_item h2 a {
            color: #1a0dab;
            font-size: 18px;
            font-weight: normal;
         }
         .tags_item h2 a:visited {
            color: #590495;
         }
         .tags_item h2 a em {
            font-weight: bold;
         }
         .tags_item h2 span {
            font-size: 13px;
            background: #0096dc;
            padding: 2px 10px;
            color: #fff;
            border-radius: 4px;
         }
         .tags_item h2 span.tip1 {
            background: #0096dc;
         }
         .tags_item h2 span.tip2 {
            background: #f28300;
         }
         .tags_item h2 span.tip3 {
            background: #78af00;
         }
         .tags_item h2 span.tip4 {
            background: #bf0636;
         }
         .tags_item h2 span.tip5 {
            background: #bcbcbc;
         }
         .tags_item .img {
            width: 50px;
            height: 50px;
            padding-top: 5px;
            float: left;
            overflow: hidden;
            margin-right: 5px;
         }
         .tags_item .img img {
            width: 50px;
            height: 50px;
         }
         .tags_item .info {
            width: 540px;
            height: 50px;
            padding-top: 5px;
            float: left;
            overflow: hidden;
            line-height: 1.4;
            word-wrap: break-word;
            color: #545454;
            font-size: 12px;
         }
         </style>
      </div><!-- products_wrap -->
   </div>
</div>